﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ModalDialog.aspx.cs" Inherits="RainyPWS.Web.Admin.template.ModalDialog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        var obj = window.dialogArguments;
        window.onload = function () {
            var iframe = document.getElementById("iframe");
            if (obj) {
                window.document.title = obj.title;
                iframe.src = obj.url;
                iframe.style.width = "100%";
                iframe.style.height = obj.iframeHeight + "px";
            }
        }
    </script>
</head>
<body style="overflow:hidden;">
    <form id="form1" runat="server">
    <div>
        <iframe id="iframe" frameborder="0" scrolling="no"></iframe>
    </div>
    </form>
</body>
</html>
